package org.giovanolli.mumi.entities;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * The Class GeneralObservation.
 */
@Entity
@Table(name = "observation")
public class GeneralObservation extends IdentificableEntity {

	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = -1701368371944646092L;

	/** The date. */
	@Column(name = "date")
	private Date date;

	/** The author. */
	@Column(name = "author")
	private String author;

	/** The observation. */
	@Column(name = "observation")
	private String observation;

	/**
	 * Gets the author.
	 * 
	 * @return the author
	 */
	public String getAuthor() {
		return author;
	}

	/**
	 * Gets the date.
	 * 
	 * @return the date
	 */
	public Date getDate() {
		return date;
	}

	/**
	 * Gets the observation.
	 * 
	 * @return the observation
	 */
	public String getObservation() {
		return observation;
	}

	/**
	 * Sets the author.
	 * 
	 * @param author
	 *            the new author
	 */
	public void setAuthor(String author) {
		this.author = author;
	}

	/**
	 * Sets the date.
	 * 
	 * @param date
	 *            the new date
	 */
	public void setDate(Date date) {
		this.date = date;
	}

	/**
	 * Sets the observation.
	 * 
	 * @param observation
	 *            the new observation
	 */
	public void setObservation(String observation) {
		this.observation = observation;
	}

}
